﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IDAL;
using SQLServerDAL;

namespace DALFactory
{
    public class DALFactory
    {
        public static IUsersDAL GetUsersDALInstance() 
        {
            return new UsersDAL();
        }

        public static IUserInfoDAL GetUserInfoDALInstance()
        {
            return new UserInfoDAL();
        }

        public static IUserBalanceDAL GetUserBalanceDALInstance()
        {
            return new UserBalanceDAL();
        }

        public static IRechargeLogDAL GetRechargeLogDALInstance()
        {
            return new RechargeLogDAL();
        }

        public static ILoginLogDAL GetLoginLogDALInstance()
        {
            return new LoginLogDAL();
        }

        public static IFilmTypeDAL GetFilmTypeDALInstance()
        {
            return new FilmTypeDAL();
        }

        public static IFilmTreeDAL GetFilmTreeDALInstance()
        {
            return new FilmTreeDAL();
        }

        public static IFilmsDAL GetFilmsDALInstance()
        {
            return new FilmsDAL();
        }

        public static ICardTypeDAL GetCardTypeDALInstance()
        {
            return new CardTypeDAL();
        }

        public static ICardDAL GetCardDALInstance()
        {
            return new CardDAL();
        }


    }
}
